package cn.wenhaha.common.bean.entity;

/**
 * 开关
 * --------
 *
 * @author ：wyndem
 * @Date ：Created in 2022-07-10 22:28
 */
public enum Switch {
    OFF(0,"关"),
    ON(1,"开");

    private  final Integer code;
    private  final String name;

    Switch(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
